package com.planet.stockanalysis.server.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 股票代码及名称
 * @author planet
 *
 */
@Entity
@Table(name = "tock_code")
public class StockCode implements Serializable{
	private static final long serialVersionUID = 3458537506410391445L;
	@Id
	private int id;
	private String code;
	private String name;
	private StockType stockType;
	
	public StockType getStockType() {
		return stockType;
	}
	public void setStockType(StockType stockType) {
		this.stockType = stockType;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
